package com.tyqx.hashchaindao.mapper;

import com.tyqx.hashchainbean.module.JZTLogistics;
import com.tyqx.hashchainbean.module.JZTLogisticsRelationship;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface JZTLogisticsRelationshipMapper {

    public Integer addJZTLogisticsRelationship(JZTLogisticsRelationship jztLogisticsRelationship);

    public List<String> getParentTraceabilityCodeByTraceabilityCode(String traceabilityCode);

    public Integer insertBatch(@Param("jztLogisticsRelationshipList") List<JZTLogisticsRelationship> jztLogisticsRelationshipList);
}
